{$CLEO .cs}
Alloc($PLAYER_ACTOR, 3)

nop 

:Noname_2
wait 0
0@ = Char.GetSpeed($PLAYER_ACTOR)
if 
  Char.IsInModel($PLAYER_ACTOR, 30309)  //// your vehicle ID (30309)
goto_if_false @Noname_2
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
  0@ <= 1.0
goto_if_false @Noname_184
1@ = Particle.CreateOnCharWithDirection("FIRE_BIKE", $PLAYER_ACTOR, 1.09, -0.22, 2.09, 0.0, 0.0, 0.0, True)   /// effect offset XYZ
Particle.Play(1@)
2@ = Particle.CreateOnCharWithDirection("FIRE_BIKE", $PLAYER_ACTOR, -1.09, -0.22, 2.09, 0.0, 0.0, 0.0, True)  /// effect offset XYZ
Particle.Play(2@)
wait 500
Particle.Kill(1@)
Particle.Kill(2@)
goto @Noname_184

:Noname_184
wait 0
if 
  Char.IsInModel($PLAYER_ACTOR, 30309) //// your vehicle ID (30309)
goto_if_false @Noname_2
3@ = Char.StoreCarIsInNoSave($PLAYER_ACTOR)
0@ = Car.GetCurrentGear(3@)
if 
  0@ == 2
goto_if_false @Noname_2
goto @Noname_248

:Noname_248
wait 0
if and
  Char.IsInAnyCar($PLAYER_ACTOR)
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @Noname_2
0@ = Car.GetCurrentGear(3@)
if 
  0@ == 3
goto_if_false @Noname_248
1@ = Particle.CreateOnCharWithDirection("FIRE_BIKE", $PLAYER_ACTOR, 1.09, -0.22, 2.09, 0.0, 0.0, 0.0, True)   /// effect offset XYZ
Particle.Play(1@)
2@ = Particle.CreateOnCharWithDirection("FIRE_BIKE", $PLAYER_ACTOR, -1.09, -0.22, 2.09, 0.0, 0.0, 0.0, True)  /// effect offset XYZ
Particle.Play(2@)
wait 500
Particle.Kill(1@)
Particle.Kill(2@)
goto @Noname_2
